﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Controls="clr-namespace:Coding4Fun.Toolkit.Controls;assembly=Coding4Fun.Toolkit.Controls"
    xmlns:c4fToolkit="clr-namespace:Coding4Fun.Toolkit.Controls;assembly=Coding4Fun.Toolkit.Controls"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
	x:Class="A_larm_Shake.page_setTimer"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">
	<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar ForegroundColor="{StaticResource PhoneBorderColor}" BackgroundColor="#FF1699DD">
			<shell:ApplicationBarIconButton x:Name="bt_confirm" IconUri="/Toolkit.Content/ApplicationBar.Check.png" Text="confirm" Click="bt_confirm_Click"/>
			<shell:ApplicationBarIconButton x:Name="bt_cancel" IconUri="/Toolkit.Content/ApplicationBar.Cancel.png" Text="Cancel" Click="bt_cancel_Click"/>
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>

    <!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot" Background="#FF1699DD">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>

		<StackPanel Grid.Row="0" Margin="12,17,12,28" Background="#FF01669A">
			<TextBlock Text="Timer setting" Style="{StaticResource PhoneTextNormalStyle}" Foreground="White"/>
			<TextBlock Text="Set Timer" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" Foreground="White"/>
		</StackPanel>

        <!--ContentPanel - place additional content here-->
		<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
			<Grid.Background>
				<SolidColorBrush Color="#FF4DA3D6" Opacity="2.5499999523162842"/>
			</Grid.Background>
			<StackPanel HorizontalAlignment="Center" Width="373">
				<StackPanel HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="373">
					<TextBlock HorizontalAlignment="Left" Height="30" TextWrapping="Wrap" Text="Set Time :" VerticalAlignment="Top" Width="373" Foreground="White"/>
					<c4fToolkit:TimeSpanPicker  x:Name="set_timeSpan" Value="0" HorizontalAlignment="Center" Width="373" FontWeight="Bold" FontSize="36" Height="75" Foreground="White" Background="{x:Null}"/>
				</StackPanel>
				<StackPanel>
					<TextBlock HorizontalAlignment="Left" Height="30" TextWrapping="Wrap" Text="Set Level :" VerticalAlignment="Top" Width="373" Foreground="White"/>
					<toolkit:ListPicker x:Name="drop" Foreground="{StaticResource yel}">
						<toolkit:ListPickerItem x:Name="lv1" Content="Level 1" Tag="1" Foreground="White"/>
						<toolkit:ListPickerItem x:Name="lv2" Content="Level 2" Tag="2"/>
						<toolkit:ListPickerItem x:Name="lv3" Content="Level 3" Tag="3"/>
					</toolkit:ListPicker>
				</StackPanel>
				<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="373">
					<TextBlock HorizontalAlignment="Left" Height="30" TextWrapping="Wrap" Text="Description :" VerticalAlignment="Top" Width="373" Foreground="White"/>
					<TextBox x:Name="tbx" TextWrapping="Wrap" Background="{x:Null}" BorderBrush="White" Foreground="{x:Null}" SelectionBackground="#FF1699DD" SelectionForeground="#FF1699DD"/>
				</StackPanel>
			</StackPanel>
		</Grid>
	</Grid>

</phone:PhoneApplicationPage>